package com.vogue.supplymall.entmanagement.domain.service;

import com.vogue.supplymall.common.domain.dto.admin.LicenceSearchInfo;
import com.vogue.supplymall.entmanagement.domain.model.LicenceApplyDetail;

import java.util.List;
import java.util.Map;

/**
 * The interface Licence apply detail service.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-04-16
 */
public interface LicenceApplyDetailService extends BaseService<LicenceApplyDetail, Long> {

    /**
     * Find overdue licence list.
     *
     * @param searchInfo the search info
     * @return the list
     */
    List<Map<String, Object>> findOverdueLicence(LicenceSearchInfo searchInfo);

    /**
     * Find overdue licence count long.
     *
     * @param searchInfo the search info
     * @return the long
     */
    Long findOverdueLicenceCount(LicenceSearchInfo searchInfo);

    /**
     * Find overdue licence list.
     *
     * @param applyId the apply id
     * @return the list
     */
    List<Map<String, Object>> findByApplyId(Long applyId);
}
